<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
			window.document.title="这是演示document对象的地方";
			//alert("窗口大小："+window.document.body.clientHeight+"*"+window.document.body.clientWidth);
			alert("url:"+window.document.URL);
			alert("lastModified:"+window.document.lastModified);
			alert("domain:"+window.document.domain);
			alert("referer:"+window.document.referrer);
			if(window.document.referrer==""){
				alert("你不是从location过来的，不能领奖");
				location.replace("location.html");
				
			}
		</script>
	</head>
	<body>
		<h1>领奖</h1>
	</body>
</html>
